<%-- 
    Document   : daftarModul
    Created on : Dec 19, 2011, 8:27:51 PM
    Author     : Aspire
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="o" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Welcome - E-Math</title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
        <title>:: Welcome - E-Math ::</title>
        <link href="style.css" rel="stylesheet" type="text/css" />
        <style type="text/css">
            @import url("style.css");
        .style34 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
}
.style43 {font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-weight: bold; }
        </style>
</head>
    <body>
    <div id="container">
            <!--Top Panel -->
      <div id="main">
                <a href="index.html">
                    <img src="images/logo.gif" alt=" E16 Fashion Club" width="213" height="219" border="0" class="logo" title=" E16 Fashion Club"/>
                </a>
                <h1>Pendidikan bukan persiapan untuk hidup melainkan pendidikan adalah hidup itu sendiri
                    <span>- John Dewey </span>
                </h1>

                <!--navigation -->
                <ul class="navlink">
                    <li><a href="go?page=home" title="home">home</a></li>
                    <li><a href="upload_modul?page=show" title="modul belajar">modul belajar</a></li>
                    <li><a href="add_video?page=show" title="video tutorial">video&nbsp;tutorial</a></li>
                    <li><a href="add_tipstrik?page=show" title="tips n trik">tips&nbsp;n&nbsp;trik</a></li>
                    <li><a href="add_event?page=show" title="event">event</a></li>
                    <li><a href="add_motivasi?page=show" title="motivasi">motivasi</a></li>
                    <li><a href="/logout" title="logout">logout</a></li>
                </ul>

                <div align="right">
                  <!--navigation -->
                  <br class="spacer" />
                    </div>
            </div>
            <div align="right">
              <blockquote>
                <blockquote>
                  <p align="right"> <span class="style34">Daftar Event <a href="add_event?page=add">Tambah Event</a></span><br>
                    </p>
                </blockquote>
              </blockquote>
            </div>
        <table width="920" border="2" align="center" bgcolor="#EBE489">
            <tr width="10" align="center">
                    <td width="147" align="center"><span class="style43">Judul Event</span></td>
                    <td width="117" align="center"><span class="style43">Tanggal Event</span></td>
                    <td width="107" align="center"><span class="style43">Poster Event</span></td>
                    <td width="283" align="center"><span class="style43">Keterangan Event</span></td>
          </tr>
                <o:forEach items="${events}" var="ev">
                <tr width="10" align="center">
                    <td><span class="style34">${ev.judulEvent}</span></td>
                    <td><span class="style34">${ev.tanggalEvent}</span></td>
                    <td><img src="${ev.fileEvent}" width="98" height="121"></td>
                    <td><span class="style34">${ev.keteranganEvent}</span></td>
                    <td><a href="add_event?page=upload&&idEvent=${ev.idEvent}" class="style34">Upload Poster</a></td>
                    <td><a href="edit_event?page=lihat&&idEvent=${ev.idEvent}" class="style34">Edit</a></td>
                    <td width="52"><a href="add_event?page=show&&idEvent=${ev.idEvent}" class="style34">Hapus</a></td>
                </tr>
                </o:forEach>
      </table>
            <br><br>
            <a href="add_event?page=add"></a>        </div>
    </body>
</html>

